﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;

using Game.Level;

namespace Game.Surface
{
    public partial class CommunicationDlg : Window
    {
        readonly Game.Level.GameMilestone _GameEvent;

        public CommunicationDlg(GameMilestone gameEvent)
        {
            _GameEvent = gameEvent;
            InitializeComponent();

            textBlock1.Text = gameEvent.Description;
        }

        void OkButtonClick(object sender, RoutedEventArgs e)
        {
            this.DialogResult = true;
        }

        void CancelButton_Click(object sender, RoutedEventArgs e)
        {
            this.DialogResult = false;
        }
        
        void button1_Click(object sender, RoutedEventArgs e)
        {
            Close();
        }
    }
}